/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Amira
 */
public class BomberManThread extends Thread {
    BomberCanvas canvas ;
    public BomberManThread(BomberCanvas game_canvas){
        canvas = game_canvas;
    }
    public void run(){
        while(true){
            try{
                canvas.flushKey();
                canvas.check_key();
                canvas.refresh();
                sleep(25);
            }catch(Exception e){
                
            }
        }
    }
    
}
